/*
 *    Copyright (c) 2018-2025, proj All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the proj developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: proj
 */

package com.ykht.proj.activity.dto;

import com.ykht.proj.activity.entity.CnActivityConsumeRecord;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.time.LocalDateTime;


/**
 * 核销表（消费记录表） DTO
 *
 * @author csg
 * @date 2020-12-23 11:13:32
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "核销表（消费记录表）")
public class CnActivityConsumeRecordDTO extends CnActivityConsumeRecord {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value="用户账号/用户名")
	private String userName;

	@ApiModelProperty(value="用户账号/手机号")
	private String userPhone;
	@ApiModelProperty(value="订单编号")
	private String orderNumber;
	@ApiModelProperty(value = "优惠有效时间状态（0有  1没有）")
	private Integer discountTimeStatus;
	@ApiModelProperty(value = "会员卡是否有效   0有效  1无效（已过期）")
	private Integer pastStatus;
	@ApiModelProperty(value="登录ID")
	private Long loginId;
	@ApiModelProperty(value="会员卡标题（卡名)")
	private String vipTitle;
	@ApiModelProperty(value="折扣力度")
	private BigDecimal discount;
	@ApiModelProperty(value="活动开始时间")
	private LocalDateTime startTime;
	@ApiModelProperty(value="活动结束时间")
	private LocalDateTime endTime;
	@ApiModelProperty(value="可选商家数量")
	private Integer shopNumber;
	@ApiModelProperty(value="活动规则")
	private String activityRule;
	@ApiModelProperty(value = "支付时间")
	private String payTimeShow;
	@ApiModelProperty(value="商家ID")
	private Long sjId;
	@ApiModelProperty(value="登录角色类型 0系统管理员 1公司 2品牌 3门店 4服务员")
	private Integer loginRoleType;

}
